package cn.izeno.wx.models.component

class WeappSdkVersion {
  lateinit var nowVersion: String

  lateinit var versions: List<Version>

  @Deprecated("for json", level = DeprecationLevel.ERROR)
  fun setUvInfo(uvInfo: UvInfo) {
    this.versions = uvInfo.items
  }

  @Deprecated("for json")
  class UvInfo {
    lateinit var items: List<Version>
  }

  class Version {
    var percentage: Double = 0.0
    var version: String = ""
  }
}


